package mapper;

import po.Sight;

import java.util.List;

public interface SightMapper {

    boolean insertSight(Sight sight);

    boolean deleteSightByName(String sightname);

    boolean updateSightByName(Sight sight);

    Sight selectSightBySightId(Integer sightid);

    Sight selectSightByName(String sightname);

    List<Sight> selectAllsights();
}